<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){

    	$name = "joysmith";
    	$login_time = time();
    	$data['name'] = $name;
    	$data['time'] = $login_time;

    	$this->assign('data',$data);
        $this->show();
    }
}